home *** CD-ROM | disk | FTP | other *** search
- Path: news.pix.za!usenet
- From: js000021@pixie.co.za (Smit JS)
- Newsgroups: comp.lang.c++
- Subject: Pointer to function in C++
- Date: Thu, 04 Jan 1996 18:03:35 GMT
- Organization: PiX - Proxima information X-change
- Message-ID: <4chivn$d8b@hawk.pix.za>
- NNTP-Posting-Host: 196.23.60.102
- X-Newsreader: Forte Free Agent 1.0.82
-
- I am trying to declare a pointer to a function :
- say void (*funct) (char *);
- Then the address of the function is obtained by using another
- function: funct = funct2(param);
- The BC3.1 compiler accepts this in C mode, but not in C++ mode.
- How can this be done in C++ please?
- Any help will be greatly appreciated
- Thanks
- Johan Smit
- js000021@pixie.co.za
-
-